package com.example.redis6.service;

import com.example.redis6.model.ProductDo;

import java.util.Map;

/**
 * description: ProductService <br>
 * date: 2021/7/22 13:29 <br>
 *
 * @author: ZhangYixin <br>
 * version: 1.0 <br>
 */
public interface ProductService {

    int save(ProductDo productDo);

    int delById(int id);

    ProductDo updateById(ProductDo productDo);

    ProductDo findById(int id);

    Map<String,Object> page(int page,int size);

}
